package com.vogue.supplymall.common.domain.dto;

import java.io.Serializable;

/**
 * The type Relevance info.
 *
 * @aouthor: zhangliang
 * @date: Create in 2018-03-28
 */
public class RelevanceInfo implements Serializable {
    private Long id;
    /**
     * 1:关注 2:收藏
     */
    private Integer type;
    /**
     * 商品id，店铺id
     */
    private Long targetObjId;
    /**
     * 用户id
     */
    private Long userId;
    /**
     * 目标对象类型 1:用户 2:商品 3:店铺
     */
    private Integer targetObjType;
    /**
     * 商品，店铺名称
     */
    private String targetName;
    /**
     * syscodeid
     */
    private Long syscodeid;
    /**
     * 当前登陆人所在机构id
     */
    private Long organid = 0L;

    /**
     * limit开始位置
     */
    private Integer start = 0;
    /**
     * limit结束位置
     */
    private Integer length = 10;
    private Long[] ids;

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Long getTargetObjId() {
        return targetObjId;
    }

    public void setTargetObjId(Long targetObjId) {
        this.targetObjId = targetObjId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Integer getTargetObjType() {
        return targetObjType;
    }

    public void setTargetObjType(Integer targetObjType) {
        this.targetObjType = targetObjType;
    }

    public String getTargetName() {
        return targetName;
    }

    public void setTargetName(String targetName) {
        this.targetName = targetName;
    }

    public Integer getStart() {
        return start;
    }

    public void setStart(Integer start) {
        this.start = start;
    }

    public Integer getLength() {
        return length;
    }

    public void setLength(Integer length) {
        this.length = length;
    }

    public Long getSyscodeid() {
        return syscodeid;
    }

    public void setSyscodeid(Long syscodeid) {
        this.syscodeid = syscodeid;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long[] getIds() {
        return ids;
    }

    public void setIds(Long[] ids) {
        this.ids = ids;
    }

    public Long getOrganid() {
        return organid;
    }

    public void setOrganid(Long organid) {
        this.organid = organid;
    }
}
